// 使用fp.add(x,y)和fp.map(f,x)创建一个能让functor里的值增加的函数ex1

// app.js
const fp = require('lodash/fp')
const { Maybe, Container } = require('./support')
let maybe = Maybe.of([5, 6, 1])
let ex1 = (step) => {
    // 你需要实现的函数
    maybe = maybe.map(function (array) {
        return fp.map(function (item) {
            return fp.add(item, step)
        }, array)
    })
}
ex1(100)
console.log(maybe)